use access_manager_types::managed::error::AccessManagedError;
use cosmwasm_std::StdError;
use frissitheto::UpgradeError;

#[derive(Debug, PartialEq, thiserror::Error)]
pub enum ContractError {
    #[error(transparent)]
    Std(#[from] StdError),

    #[error(transparent)]
    Migrate(#[from] UpgradeError),

    #[error(transparent)]
    AccessManaged(#[from] AccessManagedError),
}
